//
//  MHAwemeListViewModel.m
//  MiaoCircle
//
//  Created by 许正荣 on 2018/8/27.
//  Copyright © 2018年 acgera. All rights reserved.
//

#import "MHAwemeListViewModel.h"

@implementation MHAwemeListViewModel
-(void)initialize
{
    [super initialize];
    self.prefersNavigationBarHidden = YES;
    self.keyboardEnable = false;
    self.translucentNavigationBar = YES;
}

-(instancetype)initWithServices:(id<MHViewModelServices>)services params:(NSDictionary *)params
{
    if (self = [super initWithServices:services params:params]) {
        self.awemeModels = params[MHViewModelUtilKey];
        self.circleMoment = params[MHViewModelCommonModelUtilKey];
        self.showEnterBtn =  true; //[params[@"MHViewModelShowEnterBtn"] boolValue];
        self.showSingleVideo = [params[@"MHViewModelShowSingleVideo"] boolValue];
        self.isCollectionList = [params[@"MHViewModelCollectionList"] boolValue];
        self.isTimeLineList = [params[@"MHViewModelTimeLineList"] boolValue];
        self.isNearyBy = [params[@"MHViewModelIsNearBy"] boolValue];
        self.location = params[@"MHViewModelLocation"] ;
        self.hiddenEnter = [params[@"MHViewModelHiddenEnter"] boolValue];
        self.order = [params[@"order"] intValue];
        self.isProfile =  [params[@"MHViewModelProfileList"] boolValue];
    }
    return self;
}
@end
